<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户权限</title>
<link type="text/css" href="../component/lhgdialog/lhgdialog.css" rel="stylesheet" />
<script type="text/javascript" src="../component/lhgdialog/lhgcore.min.js"></script>
<script type="text/javascript" src="../component/lhgdialog/lhgdialog.js"></script>

<link rel="stylesheet" href="../component/zTree/demo/zTreeStyle/zTreeStyle.css" type="text/css" />
<link rel="stylesheet" href="../component/zTree/demo/zTreeStyle/zTreeIcons.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="../resources/css/formPage.css" />
<script type="text/javascript" src="../resources/scripts/jsutil.js"></script>
<script type="text/javascript" src="../resources/scripts/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../component/zTree/jquery-ztree-2.2.js"></script>
<script type="text/javascript" src="user-privilege.js"></script>
</head>
<body>
<div id="wrapper">
<h2>用户权限</h2>
<div class="form-container">
<form name="dataform" id="dataform" action="#">
<fieldset><legend>用户权限</legend>
<table width="800" align="center" style="border-collapse: collapse; border-color: Black; margin: 0px auto;">
		<tr>
				<td width="30%" align="center" valign="top">
				<table width="100%">
						<tr>
								<td><b>用户名</b><span id="sp_username"></span> <input type="hidden" id="idUser" name="idUser" /></td>
						</tr>
						<tr>
								<td><b>所有组</b><span id="btnAddGroup" onclick="btnAddGroupClick();" style="cursor:pointer;" >[添加组]</span></td>
						</tr>
						<tr>
								<td>
								<ul id='user-group' style="width: 90%; height: 150px; overflow: auto; background-color: #f5f5f5; border: 1px solid Silver;">
								</ul>
								</td>
						</tr>
						<tr>
								<td><b>所有角色</b><span id="btnAddrole" onclick="btnAddroleClick();" style="cursor:pointer;" >[添加角色]</span></td>
						</tr>
						<tr>
								<td>
								<ul id='user-role' style="width: 90%; height: 150px; overflow: auto; background-color: #f5f5f5; border: 1px solid Silver;">
								</ul>
								</td>
						</tr>
				</table>
				</td>
				<td width="30px"></td>
				<td width="40%" align="center" valign="top">
				<table width="100%">
						<tr>
								<td><b>拥有的系统资源 </b></td>
						</tr>
						<tr>
								<td></td>
						</tr>
						<tr>
								<td>
								<ul id="treebox" class="tree" style="width: 90%; height: 326px; overflow: auto; background-color: #f5f5f5; border: 1px solid Silver;"></ul>
								</td>
						</tr>
				</table>
				</td>
				<td width="30%" align="center" valign="top">
				<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#F5F5F5">
						<tr>
								<td height="30" align="center"><b>操作功能</b></td>
						</tr>
						<tr>
								<td bgcolor="#FDFBE7" align="center">
								<table id="tboptnview">
								</table>
								</td>
						</tr>
				</table>
				</td>
		</tr>
</table>
</fieldset>
</form>
</div>
</div>
</body>
</html>